<template>
	<view>
		<van-nav-bar
			:title="myprops"
			:safe-area-inset-top="false"
			custom-style="padding-top: 0rpx; background-color: #EDEDED;"
		  @click-left="onClickLeft"
		>
			<view slot="left" style="display: flex; align-items: center;" @click="leftClick">
				<van-icon name="arrow-left" size="44rpx" />
			</view>
		</van-nav-bar>
	</view>
</template>

<script>
	export default {
		name:"textNavbar",
		props: {
			myprops: {
				type: String,
				default: '九一律师咨询'
			},
		},
		data() {
			return {
				
			};
		},
		methods: {
			onClickLeft () {
				uni.navigateBack({
					delta: -1,
				})
			}
		}
	}
</script>

<style>

</style>